﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Corsat.Library.Logic
{
    public class Question
    {
        public Question()
        {
            Answers = new List<QuestionAnswer>();
        }

        public int QuestionId { get; set; }
        public int CourseId { get; set; }
        public string Text { get; set; }
        public int QuestionLevelId { get; set; }
        public List<QuestionAnswer> Answers { get; set; }
    }

    public class QuestionAnswer
    {
        public int QuestionId { get; set; }
        public int AnswerId { get; set; }
        public string AnswerText { get; set; }
        public bool IsRightAnswer { get; set; }
    }

}
